package com.ruoyi.GoodsAttach.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品图片表 goods_attach
 * 
 * @author ruoyi
 * @date 2019-07-19
 */
public class GoodsAttach extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer key;
	/**  */
	private String fileName;
	/**  */
	private String url;
	/**  */
	private Integer goodsId;

	public void setKey(Integer key) 
	{
		this.key = key;
	}

	public Integer getKey() 
	{
		return key;
	}
	public void setFileName(String fileName) 
	{
		this.fileName = fileName;
	}

	public String getFileName() 
	{
		return fileName;
	}
	public void setUrl(String url) 
	{
		this.url = url;
	}

	public String getUrl() 
	{
		return url;
	}
	public void setGoodsId(Integer goodsId) 
	{
		this.goodsId = goodsId;
	}

	public Integer getGoodsId() 
	{
		return goodsId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("key", getKey())
            .append("fileName", getFileName())
            .append("url", getUrl())
            .append("goodsId", getGoodsId())
            .toString();
    }
}
